package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Address;

import java.util.List;

/**
 * 李骏
 */
public interface AddressDao {
    Page<Address> selectByCondition(String value);

    void add(Address address);

    Address findById(Integer id);

//    void deleteAddressAndOrder(Integer id);

    void deleteById(Integer id);

    void edit(Address address);

    List<Address> findAll();

}
